
 <!-- 列表-->
<div class="list-content">
	<?php $article = $this->article; ?>
	<div class="art-left">
	<div class="tiao"></div>
		<div class="mb-nav">
			<a href="/">首页</a> > <a href="<?=INDEX_PATH?>/Index/aclist/cateid/<?=$article['cateid'] ?>"class="cata">
				<?=$article['catename'] ?></a> > <?=$article['title'] ?>
		 </div>
		<div class="tiao"></div>
		   <div class="art-t">
			   <h1><?=$article['title'] ?></h1>
		   </div>
		   <div class="art-msg">
			   </span>
			   <span><?php date("Y年m月d日",$article['posttime']); ?></span>
			   <span><a href="<?=INDEX_PATH?>/Index/aclist/cateid/<?=$article['cateid'] ?>"><?=$article['catename'] ?></a></span>
			   <span><?=$article['viewnum'] ?>次浏览</span>
		   </div>
		   <div class="art-content">
			   <?=$article['content'] ?>
		   </div>

		   <div class="art-xg">
		   <!--
			    <div class="right-t">
					<span>相关文章</span>
			    </div>
				-->
				<br/><br/>
				<div class="art-xg-c">
                    <p>上一篇：
					<?php if($article['pre'] == null) echo '没有了';
						else {?>
						<a  href="<?=INDEX_PATH?>/Index/detail/id/<?=$article['pre']['id'] ?>" title="<?=$article['pre']['title'] ?>"><?=$article['pre']['title'] ?></a></p>
					<?php }?>

					<p>下一篇：
					<?php if($article['next'] == null) echo '没有了';
						else {?>
						<a  href="<?=INDEX_PATH?>/Index/detail/id/<?=$article['next']['id'] ?>" title="<?=$article['next']['title'] ?>"><?=$article['next']['title'] ?></a></p>
					<?php }?>

				</div>
		   </div>
   </div>


	<div class="list-right">
	<!--
		<div class="right-right">
			    <div class="right-t">
					<span>推荐阅读</span>
			    </div>
				<div class="right-tui-c">
					<div class="right-tui-img">
		                <a href=""><img src=""  alt="">
		                <h3></h3>
		                </a>
	                </div>
				</div>
		   </div>
		   -->
			<div class="right-right">
			    <div class="right-t">
					<span>热门阅读</span>
			    </div>
				<?php require_once APPLICATION_PATH.'/common/functions.php';?>
				<?php
				foreach($this->recommendArts as $rmdart){?>
					<div class="right-hot-c">
						<ul>
							<li>
								<a href="<?=INDEX_PATH?>/Index/detail/id/<?=$rmdart['id'] ?>">
									<h3><?=$rmdart['title'] ?></h3>
									<img src="<?=catch_first_image($rmdart['content']) ?>" alt="<?=$rmdart['title'] ?>">
								</a>
							<p><?=get_article_abstract($rmdart['content']) ?></p>
							</li>

						</ul>
					</div>
				<?php }?>
		    </div>
	</div>


</div>
